import { CHANGEDATALIST } from './constants'
export default function dataListReducer(dataList = [], action) {
  switch (action.type) {
    case CHANGEDATALIST:
      return action.dataList
    default:
      return dataList
  }
}
